home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre4.z / postgre4 / src / lib / H / tmp / pusr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  733 b   |  43 lines

  1. /*
  2.  * pusr.h --
  3.  *    POSTGRES user permissions definitions.
  4.  *
  5.  * Identification:
  6.  *    $Header: /private/postgres/src/lib/H/tmp/RCS/pusr.h,v 1.2 1990/08/17 08:54:32 cimarron Exp $
  7.  */
  8.  
  9. #ifndef    PUsrIncluded        /* Include this file only once */
  10. #define PUsrIncluded    1
  11.  
  12. #include "tmp/postgres.h"
  13.  
  14. #define PUSR_H    "$Header: /private/postgres/src/lib/H/tmp/RCS/pusr.h,v 1.2 1990/08/17 08:54:32 cimarron Exp $"
  15.  
  16. /*
  17.  * GetUserId --
  18.  *    Returns user id.
  19.  *
  20.  * Exceptions:
  21.  *    BadState if called before InitUser.
  22.  */
  23. extern
  24. ObjectId
  25. GetUserId ARGS((
  26.     void
  27. ));
  28.  
  29. /*
  30.  * InitUser --
  31.  *    Sets user permission information.
  32.  *
  33.  * Exceptions:
  34.  *    BadState if called more than once.
  35.  */
  36. extern
  37. void
  38. InitUser ARGS((
  39.     void
  40. ));
  41.  
  42. #endif    /* !defined(PUsrIncluded) */
  43.